package priv.mill.view;

import javax.swing.table.DefaultTableModel;

public class MempModel extends DefaultTableModel {
	
	
//	new DefaultTableModel(
//			new Object[][] {
//				{null, null, null},
//				{null, null, null},
//				{null, null, null},
//			},
//			new String[] {
//				"\u59D3\u540D", "\u5DE5\u53F7", "\u5DE5\u8D44"
//			}
//		) {
//			Class[] columnTypes = new Class[] {
//				String.class, Integer.class, Double.class
//			};
//			public Class getColumnClass(int columnIndex) {
//				return columnTypes[columnIndex];
//			}
//		}
	
	
	Class[] columnTypes = new Class[] {
			String.class, String.class, String.class
		};
	@Override
	public Object getValueAt(int row, int column) {
		System.out.println(row);
		return "123";
	}
	public Class getColumnClass(int columnIndex) {
		return columnTypes[columnIndex];
	}
	
}
